import java.util.Date;

public class Employee {

    public Employee() {

    }
    public Employee(String name,double salary, int year, int month, int day) {
        this.name=name;
        this.salary=salary;
        this.year=year;
        this.month=month;
        this.day=day;
        this.hireDay=year+"-"+month+"-"+day+"";
    }




    private String name;
    private Double salary;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }


    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }



    private int year;
    private int month;

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }

    private int day;

    public String getHireDay() {
        return hireDay;
    }


    public void setHireDay(String hireDay) {
        this.hireDay = hireDay;
    }

    private String hireDay;


}
